@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

@media (prefers-reduced-motion: no-preference) {
    * {
        scroll-behavior: smooth;
    }
}

@font-face {
    font-family: 'EB Garamond';
    src: url("/assets/fonts/garamond/ebgaramond08-italic.woff2") format("woff2"), url("/assets/fonts/garamond/ebgaramond08-italic.woff") format("woff");
    font-weight: bold;
    font-style: italic
}

@font-face {
    font-family: 'EB Garamond';
    src: url("/assets/fonts/garamond/ebgaramond08-regular.woff2") format("woff2"), url("/assets/fonts/garamond/ebgaramond08-regular.woff") format("woff");
    font-weight: bold;
    font-style: normal
}

@font-face {
    font-family: 'EB Garamond SC';
    src: url("/assets/fonts/garamond/ebgaramondsc08-regular.woff2") format("woff2"), url("/assets/fonts/garamond/ebgaramondsc08-regular.woff") format("woff");
    font-weight: bold;
    font-style: normal
}

@font-face {
    font-family: 'EB Garamond All SC';
    src: url("/assets/fonts/garamond/ebgaramond12-allsc.woff2") format("woff2"), url("/assets/fonts/garamond/ebgaramond12-allsc.woff") format("woff");
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: 'EB Garamond';
    src: url("/assets/fonts/garamond/ebgaramond12-italic.woff2") format("woff2"), url("/assets/fonts/garamond/ebgaramond12-italic.woff") format("woff");
    font-weight: normal;
    font-style: italic
}

@font-face {
    font-family: 'EB Garamond';
    src: url("/assets/fonts/garamond/ebgaramond12-regular.woff2") format("woff2"), url("/assets/fonts/garamond/ebgaramond12-regular.woff") format("woff");
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: 'EB Garamond SC';
    src: url("/assets/fonts/garamond/ebgaramondsc12-regular.woff2") format("woff2"), url("/assets/fonts/garamond/ebgaramondsc12-regular.woff") format("woff");
    font-weight: normal;
    font-style: normal
}


*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-family: "EB Garamond", "Sahitya", serif;
    /* font-family:'Segoe UI'; */
    font-kerning: normal;
    font-size: 9px;
}



body {
    font-size: 21px;
	font-family: "EB Garamond", serif;
	background-color: #ffffff;
	color: #000;
	/* max-width: 85rem; */
	text-align: left;
    line-height: 1.3;
	margin: 0;
	overflow-x: hidden;
	scroll-behavior: smooth;
    overflow-y: scroll;
}

.bg {
    max-width: 90rem;
    margin: 2px auto;
    padding-inline: 20px;
}

body>* {
    margin-bottom: 2.4rem
}



header {
    font-family: "Josefin Sans", sans-serif;
    text-align: center;
    line-height: normal;
}

header>h1 {
    margin-top: 30px;
    font-weight: normal;
    text-align: center;
    /* border: 1px solid red; */
    margin-bottom: 10px;
   
}

.container {
    max-width: 50rem;
    margin: 2px auto;
    text-align: left;
}



nav {
    position: relative;
    /* border: 1px solid red; */
}

nav>ul {
    list-style-type: none;
    margin: 0 auto;
    padding: 6px;
    width: fit-content;
    border-radius: 2px;
    background-color: #000000;
    /* backdrop-filter: blur(2px); */
    /* border: 1px solid red; */
    /* background: linear-gradient(to right,#fff 20%,#a4a3a3 0%,#000 50%, #a4a3a3 80%,#fff 80%); */
}

.nav {
    display: inline;
    padding-inline: 5px;
    font-weight: normal;
    font-family: "Josefin Sans", sans-serif;
    font-size: 14px;
    /* border: 1px solid red; */
}

.nav a {
    color: #f4f4f4;

}

.nav a:hover {
    color: #b5b5b5;
}

.now>h2 {
    margin-top: 30px;
}

/* 
nav>ul>li>a:hover, h1.hidden:hover {
	background-color: #333;
	color:#eee;
	padding: 8px;
	transition: 0.5s;
} */

:target {
    -webkit-animation: target-fade 1s;
    -moz-animation: target-fade 1s;
    -o-animation: target-fade 1s;
    animation: target-fade 1s;
}

nav>hr {
    width: 100%;
    position: absolute;
    top: 1.67rem;
    z-index: -100;
}

h2 {
    font-weight: normal;
    font-family: "EB Garamond", sans-serif;
    font-size: 22px;
    /* text-align: center; */
}

h3 {
    font-weight: normal;
    font-family: Garamond, Serif;
    text-align: center;
}

.hidden {
    opacity: 0;
    /* background-color: #adadac; */
    transition: all 1s;
}

a {
    color: #000000;
    text-decoration: none;
}

a:hover {
    text-decoration: overline;
    color: #6d0e0e;
}

nav a:hover {
    text-decoration: none;
}



figure img,
figure video {
    display: block;
    float: unset;
    margin: auto;
    padding: 1rem 0
}

figure figcaption {
    font-size: 2.07rem;
    text-align: center
}



/* img,
video {
	margin-left: 1.6rem;
	width: 24%
} */


.wide img,
.wide video {
    width: 90%
}

img.mid {
    display: block;
    margin: 0 auto;
    width: 50%;
}

img.small {
    display: block;
    margin: 0 auto;
    width: 10%;
}


p#hello {
    font-size: 1.35em;
    /* margin-top: 30px; */
    margin-bottom: -5px;
}



.sign {
    /* scale: 0.5; */
    display: block;
    margin: 10px auto;
    max-width: 2rem;
}

.site-footer {
	position: relative;
	margin-top: auto;
    font-family: "Josefin Sans", sans-serif;
    text-transform: uppercase;
	/* padding: 20px 0 30px 0; */
	color: #3a3a3a;
	/* soft dark grey – not harsh */
	text-align: center;
	font-size: 15px;
	/* slightly small = professional */
	letter-spacing: 0.4px;
	opacity: 0.9;
	max-width: 100rem;
	margin-inline: auto;
	/* border: 1px solid red; */
    /* min-width: 60%; */
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.divider>img {
	width:100%;
    /* display: block; */
    /* margin: 0 auto; */
}

.site-footer .footer-inner {
    line-height: 1.6;

}






/* figure.about-div {
      max-width: 200px;
      height: auto;
    } */



.tag-title {
    background: #dee2eb;
    padding: 1px 5px;
    text-align: left;
    border-left: 3px solid #333;
}

.tag-title:hover {
    background-color: #bfc0c3;
}

.tag-info {
    font-style: italic;
    text-align: right;
    background-color: #f9f9e6;
    font-size: 0.9em
}

.indent {
    margin: -2px 20px;
}

@media (max-width: 570px) {
    nav {
        /* margin-top: 20px; */
        /* border: 1px solid red; */
        margin-left: -3.2rem;
    }

    .sep {
        display: none;
    }

    nav>ul {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
        margin: 0 50px;
        /* height: 5rem; */
        background-color: #f6eed9;
        /* border: 1px solid red; */

    }

    .nav {
        /* padding-inline: 20px; */
        /* border: 1px solid white; */
        padding: 10px;
        background-color: #000;
    }

    header>h1 {
        /* display: none; */
        /* margin-bottom: 5px; */
        font-size: 25.2px;
        text-align: left;
        margin-left: 3.01rem;
        /* border: 1px solid red; */

    }

    header {
        background-color: #f6eed9;
        margin-top: 1px;
        padding: 5px;
        /* border: 1px solid red; */
    }

}


/* .bg {
    max-width: 90% 
} */

/* 
h2:before {
	content: counter(heading)") ";
	counter-increment: heading;
}
h2 {
	counter-reset: subheading;
}
h3:before {
	content: counter(heading)"." counter(subheading)") ";
	counter-increment: subheading;
} */



h1 {
    font-size: 30px;
    font-weight: normal;
}


h2 {

    font-size: 2.9rem;
}


h3 {
    font-size: 2.3rem;
    background-color: #edf0f5;

}

.emph {
    color: #362d2d;
}


.small {
    font-size: smaller;
}

.right {
    text-align: right;
}

.center {
    text-align: center;
}


img,
video {
    margin-left: 1.6rem;
    width: 24%
}


.wide img,
.wide video {
    width: 90%
}

img.mid {
    display: block;
    margin: 0 auto;
    width: 50%;
}


div.mid {
    text-align: center;
    align: center;
}

div.pad {
    padding: 20px;
    margin: 10px;
}

div.pad:hover {
    background-color: #f4f0f0;
}


p.indent {
    text-indent: 50px;
}

.def {
    background-color: #f5f0f0;
    border-radius: 5px;
    padding: 10px;
}

.defb {
    background-color: #e3d3d3;
}

.def::before {
    content: "Definition:  ";
    font-weight: bold;
    font-style: italic;
    font-size: 1.2em;
}


.claim {
    background-color: #f3ece4;
    padding: 5px;
    border-radius: 5px;
}

.claim::before {
    content: "Claim:  ";
    font-weight: bold;
    font-style: italic;
    font-size: 1.2em;
}

.claimb {
    background-color: #bac4d9;
}

.pf {
    background-color: rgb(240, 255, 252);
    padding: 10px;
    border-radius: 5px;

}

.pf::before {
    content: "Proof:  ";
    font-weight: bold;
    font-style: italic;
    font-size: 1.2em;
}


figure img,
figure video {
    display: block;
    float: unset;
    margin: auto;
    padding: 1rem 0
}

figure figcaption {
    font-size: 2.07rem;
    text-align: center
}

p {
    hyphens: auto
}

p.post-date {
    color: #444
}

code {
    border: 0.1px solid #eee;
    border-radius: .4rem;
    box-shadow: 0 0 0.1rem #444;
    display: inline-block;
    font-family: monospace;
    font-size: 1.84rem;
    padding: 0 .3rem
}

pre>code {
    display: block;
    overflow: auto;
    padding: .4rem 1.4rem
}

blockquote {
    border-left: 0.5rem solid #eee;
    color: #444;
    padding: .6rem 0 .6rem 1.8rem
}

blockquote cite {
    border-left: unset;
    display: block;
    text-align: right
}

blockquote cite::before {
    content: " — "
}



main>* {
    margin-bottom: 2.4rem
}

main ul,
main ol {
    margin-left: 2.3rem
}

main hr {
    color: maroon;
    margin: 0 auto;
    margin-bottom: 1.4rem;
    width: 75%
}

hr.left {
    margin-top: -25px;
    margin-left: -5px;
    width: 60%;
}

article .date {
    color: #444
}

article .detail h2 {
    display: inline;
    font-size: 2.3rem;
    font-style: normal;
    font-weight: normal;
    margin-right: 0.5rem
}

article .detail p {
    display: inline
}


a:hover,
a:active {
    color: rgb(128, 22, 22);
    text-decoration: overline;
}





h2>a::after {
    content: unset
}

/* nav a:link,nav a:visited,nav a:focus,.detail a:link,.detail a:visited,.detail a:focus {
    color: maroon;
    font-weight: bold
} */


html,
body {
    height: 100%
}

body {
    display: flex;
    flex-direction: column
}

main {
    flex: 1
}


.mjx-chtml {
    font-size: 95.5% !important
}

#newsletter {
    display: flex;
    width: 100%
}

#newsletter button,
#newsletter input {
    border-radius: 0;
    display: inline-block;
    font-family: inherit;
    font-size: 100%;
    height: 3.6rem;
    margin: 0;
    margin-right: 1%
}

#newsletter input {
    border: 1px solid #444;
    padding: 1rem;
    max-width: 24rem;
    min-width: 10rem;
    flex: auto
}

#newsletter input:focus {
    border: 1px solid #D01137
}

#newsletter button {
    border-radius: 0;
    background: #D01137;
    color: white;
    border: 1px solid #D01137;
    min-width: 10rem
}

#newsletter button:hover {
    cursor: pointer;
    background: #D01137
}

p#success,
iframe#response {
    display: none
}

iframe {
    display: block;
    /*    padding: 5%;*/
    margin: auto;
    border: 0;
}

figure {
    padding: 5%;
}